package com.niuwa.p2p.dao.customer;

import com.niuwa.p2p.dao.MyBatisDao;
import com.niuwa.p2p.entity.customer.PhoneAuth;
@MyBatisDao
public interface PhoneAuthDao {
    int deleteByPrimaryKey(Long id);

    int insert(PhoneAuth record);

    int insertSelective(PhoneAuth record);

    PhoneAuth selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(PhoneAuth record);

    int updateByPrimaryKey(PhoneAuth record);
    
    /**
     * 通过电话号码查询手机认证信息
     * @param tel
     * @return
     */
    PhoneAuth getPhoneAuthByPhoneNo(String tel);
}